.class final Lcom/tendcloud/tenddata/cu;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Landroid/content/Context;


# direct methods
.method constructor <init>(Landroid/content/Context;)V
    .locals 0

    iput-object p1, p0, Lcom/tendcloud/tenddata/cu;->a:Landroid/content/Context;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 6

    iget-object v0, p0, Lcom/tendcloud/tenddata/cu;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/tendcloud/tenddata/cv;->b(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v5, Ljava/util/ArrayList;

    invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V

    new-instance v1, Lcom/tendcloud/tenddata/cw;

    const-string v2, "app"

    invoke-direct {v1, v2, v0}, Lcom/tendcloud/tenddata/cw;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v5, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/tendcloud/tenddata/cw;

    const-string v2, "os"

    const-string v3, "android"

    invoke-direct {v1, v2, v3}, Lcom/tendcloud/tenddata/cw;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v5, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/tendcloud/tenddata/cw;

    const-string v2, "ver"

    invoke-static {}, Lcom/tendcloud/tenddata/bn;->a()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/tendcloud/tenddata/cw;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v5, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/tendcloud/tenddata/cw;

    const-string v2, "made"

    invoke-static {}, Lcom/tendcloud/tenddata/bn;->b()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/tendcloud/tenddata/cw;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v5, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/tendcloud/tenddata/cw;

    const-string v2, "brand"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/tendcloud/tenddata/bn;->c()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "@"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-static {}, Lcom/tendcloud/tenddata/bn;->d()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/tendcloud/tenddata/cw;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v5, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/tendcloud/tenddata/cw;

    const-string v2, "screen"

    iget-object v3, p0, Lcom/tendcloud/tenddata/cu;->a:Landroid/content/Context;

    invoke-static {v3}, Lcom/tendcloud/tenddata/bn;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/tendcloud/tenddata/cw;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v5, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/tendcloud/tenddata/cw;

    const-string v2, "lang"

    invoke-static {}, Lcom/tendcloud/tenddata/bn;->i()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/tendcloud/tenddata/cw;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v5, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/tendcloud/tenddata/cw;

    const-string v2, "country"

    iget-object v3, p0, Lcom/tendcloud/tenddata/cu;->a:Landroid/content/Context;

    invoke-static {v3}, Lcom/tendcloud/tenddata/cv;->f(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/tendcloud/tenddata/cw;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v5, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/tendcloud/tenddata/cw;

    const-string v2, "zone"

    invoke-static {}, Lcom/tendcloud/tenddata/bn;->j()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/tendcloud/tenddata/cw;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v5, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/tendcloud/tenddata/cw;

    const-string v2, "fmt"

    const-string v3, "2"

    invoke-direct {v1, v2, v3}, Lcom/tendcloud/tenddata/cw;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v5, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string v1, "/api/statis/%s/%s"

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    iget-object v4, p0, Lcom/tendcloud/tenddata/cu;->a:Landroid/content/Context;

    invoke-static {v4}, Lcom/tendcloud/tenddata/cv;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    const/4 v3, 0x1

    aput-object v0, v2, v3

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/tendcloud/tenddata/cu;->a:Landroid/content/Context;

    invoke-static {v1, v0}, Lcom/tendcloud/tenddata/ct;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iget-object v0, p0, Lcom/tendcloud/tenddata/cu;->a:Landroid/content/Context;

    invoke-static {}, Lcom/tendcloud/tenddata/cv;->a()Ljava/lang/String;

    move-result-object v1

    sget-object v2, Lcom/tendcloud/tenddata/dc;->G:Ljava/lang/String;

    invoke-static {}, Lcom/tendcloud/tenddata/ct;->a()Ljava/lang/String;

    move-result-object v4

    invoke-static {v5}, Lcom/tendcloud/tenddata/ct;->a(Ljava/util/List;)[B

    move-result-object v5

    invoke-static/range {v0 .. v5}, Lcom/tendcloud/tenddata/bk;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[B)Lcom/tendcloud/tenddata/bk$d;

    move-result-object v0

    iget v1, v0, Lcom/tendcloud/tenddata/bk$d;->a:I

    const/16 v2, 0xc8

    if-ne v1, v2, :cond_0

    const-string v0, "mpush_statis_only"

    const-string v1, "true"

    invoke-static {v0, v1}, Lcom/tendcloud/tenddata/cr;->a(Ljava/lang/String;Ljava/lang/String;)Z

    :goto_0
    return-void

    :cond_0
    const-string v1, "PushLog"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "setStatisOnly failed "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, v0, Lcom/tendcloud/tenddata/bk$d;->a:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "   "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v0, v0, Lcom/tendcloud/tenddata/bk$d;->b:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/tendcloud/tenddata/cs;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method
